package com.codi.bus.core.dao;

import com.codi.base.dao.v2.GeneratedBaseDao;
import com.codi.bus.core.domain.TradeOrders;

import java.util.List;

/**
 * 亲，写个类注释呗
 * @author asus
 * @date 2018-04-18 13:47
 */
public interface TradeOrdersDao extends GeneratedBaseDao<TradeOrders> {
    TradeOrders selectByAllotNo(TradeOrders order);
    void updateByAllotNoSelective(TradeOrders order);
    List<TradeOrders> selectByTaconfirmFlag(TradeOrders queryVo);
    List<TradeOrders> selectByCreateTime(TradeOrders queryVo);
    List<TradeOrders> selectByUpdateTime(TradeOrders queryVo);
    List<TradeOrders> selectFastredeem(TradeOrders queryVo);
    void deleteByAllotNo(TradeOrders order);

    void updateByPortfolioApplyNo(TradeOrders order);

    void updateByApplyNo(TradeOrders order);


    List<TradeOrders> selectSellUnConfirmTrade(TradeOrders order);

    List<TradeOrders> selectBuyUnConfirmTrade(TradeOrders order);

    List<TradeOrders> selectBuyUnConfirmPortfolioTrade(TradeOrders order);

    List<TradeOrders> selectNoClientId();
}
